<?php 
global $global_images_route,$global_common_route,$default_image_news;
$css .= '<link rel="stylesheet" href="'.$global_common_route.'/smoothgallery/css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />';
$script = '<script src="'.$global_common_route.'/smoothgallery/scripts/mootools-1.2.1-core-yc.js" type="text/javascript"></script>';
$script .= '<script src="'.$global_common_route.'/smoothgallery/scripts/mootools-1.2-more.js" type="text/javascript"></script>';
$script .= '<script src="'.$global_common_route.'/smoothgallery/scripts/jd.gallery.js" type="text/javascript"></script>';
?>
<?=inc_web ( $GLOBALS ['nhead'],$css,$script );?>
  <script type="text/javascript">
			function startGallery() {
				var myGallery = new gallery($('myGallery'), {
					timed: true
				});
			}
			jQuery(function(){
				 window.addEvent('domready',startGallery);
				 jQuery("#article h2 a").click(function(){
					 jQuery("#article h2 a").removeClass('on');
					 jQuery(this) .addClass('on');
					 var url=jQuery(this) .attr('href'); 
                     jQuery("#article_panel").load(url);
                     return false;
				 });
			});
			
			
  </script>
  <div class="mainFloor clearfix">
    	<div class="mf_main">
      	<div class="scrollAd" id="myGallery">
				<div class="imageElement">
					<h3>Item 1 Title</h3>
					<p>Item 1 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/1.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/1-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 2 Title</h3>
					<p>Item 2 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/2.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/2-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 3 Title</h3>
					<p>Item 3 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/3.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/3-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 4 Title</h3>
					<p>Item 4 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/4.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/4-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 5 Title</h3>
					<p>Item 5 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/5.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/5-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 6 Title</h3>
					<p>Item 6 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/6.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/6-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 7 Title</h3>
					<p>Item 7 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/7.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/7-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 8 Title</h3>
					<p>Item 8 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/8.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/8-mini.jpg" class="thumbnail" />
				</div>
      	</div>
      	<div class="mf_m_main">
        	<div class="mo-tabBlue">
          	<div class="hd clearfix" id="article">
              <h2><a href="<?=ii_get_actual_route('article/'.ii_iurl('ajax_list'))?>" class="on" >业界资讯</a></h2>
              <?php foreach ($articleSortList as $row):?>
              <h2><a href="<?=ii_get_actual_route('article/'.ii_iurl('ajax_list').'&classid='.$row[0])?>"><?=$row['sort_sort']?></a></h2>
              <?php endforeach;?>
            </div>
            <div class="bd" id="article_panel">
                <div class="gridm50e50">
                	<div class="main ">
                  	<div class="mo-imgText">
                	<?php if(count($articleList)>0):
                			$row = $articleList[0];?>
                      <div class="mo-imgArea">
                        <a href="<?=ii_get_actual_route('article/'.ii_iurl('detail', $row  [0]))?>" class="pic"><img src="<?=$global_images_route.$default_image_news?>"></a>
                        <div class="i-con">
                          <h3><a href="<?=ii_get_actual_route('article/'.ii_iurl('detail', $row  [0]))?>" class="i-tit"><?=$row[ii_cfname ( 'topic' )]?></a></h3>
                          <p><?=ii_left(strip_tags($row[ii_cfname ( 'content' )]),90,1)?></p>
                        </div>
                      </div>
                	<?php endif;?>
                      <ul class="list">
                      <?php for($i=2;$i<count($articleList)&&$i<5;$i++):
                      		$row = $articleList[$i];
                      ?>
                        <li><a href="<?=ii_get_actual_route('article/'.ii_iurl('detail', $row  [0]))?>"><?=$row[ii_cfname ( 'topic' )]?></a></li>
                        <?php endfor;?>
                      </ul>
                      
                  	</div>
                  </div>
                  <div class="extra">
                  	<div class="mo-imgText">
                	<?php if(count($articleList)>1):
                			$row = $articleList[1];?>
                      <div class="mo-imgArea">
                        <a href="<?=ii_get_actual_route('article/'.ii_iurl('detail', $row  [0]))?>" class="pic"><img src="<?=$global_images_route.$default_image_news?>"></a>
                        <div class="i-con">
                          <h3><a href="<?=ii_get_actual_route('article/'.ii_iurl('detail', $row  [0]))?>" class="i-tit"><?=$row[ii_cfname ( 'topic' )]?></a></h3>
                          <p><?=ii_left(strip_tags($row[ii_cfname ( 'content' )]),90,1)?></p>
                        </div>
                      </div>
                    <?php endif;?>
                      <ul class="list">
                      <?php for($i=5;$i<count($articleList)&&$i<8;$i++):
                      		$row = $articleList[$i];
                      ?>
                        <li><a href="<?=ii_get_actual_route('article/'.ii_iurl('detail', $row  [0]))?>"><?=$row[ii_cfname ( 'topic' )]?></a></li>
                        <?php endfor;?>
                      </ul>
                      
                  	</div>
                  </div>
                </div>
              <div style="display:none">
                f2
              </div>
            </div>
          </div>
        </div>
        <div class="mf_m_extra">
        	<div class=" mo-blo mo-blo-blue ">
          	<div class="hd">
            	<h2 class="tit">广场景点</h2><a href="<?=ii_get_actual_route('shop')?>" class="more">更多></a><s></s>
            </div>
            <div class="bd clearfix">
            	<ul class="ul-mm clearfix">
              	<li><a href="<?=ii_get_actual_route('shop')?>" class="pic"><img src="<?=global_images_route ()?>img/mm-01.jpg"></a><a href="<?=ii_get_actual_route('shop')?>">暂无数据</a></li>
              </ul>
              <div class="mo-adPage">
              	<a href="#" class="pre"></a>
                <a href="#" class="next"></a>
              </div>
            </div>
          </div>
          <div class=" mo-blo mo-blo-white">
            <div class="bd h61">
            	<p>请问对新改版的海印广场网站是否满意？</p>
              <label><input type="radio" name="name1" checked>满意</label>
              <label><input type="radio" name="name1">一般</label>
              <label><input type="radio" name="name1">不满意</label>
            </div>
          </div>
        </div>
      </div>
      <div class="mf_extra">
      	<div class=" mo-blo mo-blo-red">
          	<div class="hd">
            	<h2 class="tit">最新优惠</h2><s></s><i></i>
            </div>
            <div class="bd">
            	<ul class="ul-2c ul-2c-blue clearfix">
            	<?php foreach ($specialofferNewList as $row):?>
              	<li><a href="#"><?=$row[ii_cfname('topic')]?></a><span><?=date('m-d',strtotime($row [ii_cfname ( 'time' )]))?></span></li>
              	<?php endforeach;?>
              </ul>
            </div>
        </div>
        <div class="ad-single ad-single-first">
        	<a href="#"><img src="<?=global_images_route ()?>img/ad-extra-1.png"></a>
          <div class="mo-adPage"><a href="#" class="pre"></a><a href="#" class="next"></a></div>
        </div>
        <div class="ad-single">
        	<a href="#"><img src="<?=global_images_route ()?>img/ad-extra-2.png"></a>
          <div class="mo-adPage"><a href="#" class="pre"></a><a href="#" class="next"></a></div>
        </div>
        <div class="mo-contact">
        	<a href="#" class="btn-arrive"></a>
          <a href="#" class="btn-join"></a>
        </div>
				<a href="#" class="ad-single"><img src="<?=global_images_route ()?>img/ad-extra-eat.png"></a>

      </div>
    </div>
    <div class="wrap">
      <div class="ad-full">
    		<a href="#"><img src="<?=global_images_route ()?>img/ad-1.jpg"></a>
   	  </div>
<?php $i=0;
	for ($i=1;$i<=5;$i++):?>
    	<!--手机-->
      <div class="gridm500e190 clearfix mo-bloColor-<?=$i?>">
      	<div class="mo-titColorful">
        	<h2 class="tit"><i class="t-<?=$i?>"></i></h2>
          <div class="extraLink">
<!--          	<a href="#">葵花宝典</a>|-->
<!--            <a href="#">葵花宝典</a>|-->
<!--            <a href="#">葵花宝典</a>-->
          </div>
        </div>
        <div class="main">
          <div class="main_in mo-offerShow">
          <?php if(count($specialofferList)>$i):
          		foreach ($specialofferList[$i-1] as $row):
          ?>
          	<a href="#">
            	<p class="tit"><?=$row[ii_cfname('topic')]?></p>
              <i class="pic"><img src="<?=$global_images_route?>img/shop-1.jpg"></i>
              <p class="o-detail"><?=ii_left(strip_tags($row[ii_cfname ( 'content' )]),60,1)?></p>
            </a>
            <?php endforeach;
            	  endif;
            ?>
            <div>&nbsp;</div>
          </div>
        </div>
        <div class="extra mo-shopRec">
        	<h3 class="tit">名店推荐</h3>
        	<a href="#" class="pic"><img src="<?=global_images_route ()?>img/shop-1.jpg"></a>
          <div class="s-adap">
          	<a href="#" class="item">幻想曲通信</a><a href="#" class="item">幻想曲通信</a><a href="#" class="item">幻想曲通信</a><a href="#" class="item">幻想曲通信</a>
          </div>
          
        </div>
        <ul class=" sub ul-2c clearfix ">
            <li class="tit"><h3 href="#">热点话题</h3><a href="<?=ii_get_actual_route('bbs')?>">更多></a></li>
          <li><a href="#">暂无数据 </a><span></span></li>
 

        </ul>

        </div>
        <!--手机-->
<?php endfor;?>
        
      <?=inc_web ('links')?> 
      
      </div>
      <?=mm_web_foot ( $GLOBALS ['nfoot'] )?> 